package
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	public class SampleMVC extends Sprite
	{
		private var model:Model = new Model();
		private var control:Control;
		private var view:View;
		private var txt:TextField;
		
		public function SampleMVC()
		{
			control = new Control(model);
			txt = new TextField();
			
			addChild(txt);
			txt.text = "";
			txt.x = 50;
			txt.y = 50;
			
			view = new View(model, control, txt);
		}
	}
}